package com.szrt.java.day20161223.wrl.homework;

import java.util.Scanner;
import org.junit.Test;

public class Work05 {
	@Test
	public void w05(){
		Scanner sc = new Scanner(System.in);
		System.out.println("请输入等级：\n");
		String dj = sc.next();
		sc.close();
		switch (dj) {
			case "A":	System.out.println("成绩优秀");		break;
			case "B":	System.out.println("成绩良好");		break;
			case "C":	System.out.println("成绩及格");		break;
			default:	System.out.println("成绩不靠谱");		break;
		}
	}
}
